
class HotMessageCount {
  Map<String, UserHotMessageCount> _userHotMessageCountMap = {};

  Map<String, UserHotMessageCount> get hotMessageCount=> _userHotMessageCountMap;

  UserHotMessageCount? getUserHotMessageCount(String userId) {
    return _userHotMessageCountMap[userId];
  }
}

class UserHotMessageCount {
  final String userId;
  late int _hotMessageCount;

  UserHotMessageCount(this.userId);

  void set hostMessageCount(int hotMessageCount) {
    this._hotMessageCount = hotMessageCount;
  }

  int get hotMessageCount => _hotMessageCount;
}